<?php
define('APP_DEBUG',true);
define('BUILD_LITE_FILE',true);
define('WEB_PATH', realpath('./').'/');
define('APP_PATH',WEB_PATH.'App/');
define('RUNTIME_PATH', WEB_PATH . 'Runtime/');
define('HTML_PATH', RUNTIME_PATH. 'Html/');
define('THINK_PATH', WEB_PATH. 'ThinkPHP/');
define('TMPL_PATH',WEB_PATH.'View/');

if(!APP_DEBUG && is_file(RUNTIME_PATH.'lite.php')) {
    require RUNTIME_PATH.'lite.php';    // 编译文件
} else {
    require THINK_PATH.'ThinkPHP.php';  // 核心文件
}